package com.entity.system;

import java.util.Date;

public class Agent {
    private Long id;

    private Long userId;

    private Byte state;

    private Long parentId;

    private Date createTime;

    private Date modifyTime;

    private Integer agentLevel;

    private String identityCard;

    private String identityCardImage;

    private Integer agentAmount;

    private Date validStartDate;

    private Date validEndDate;

    private Integer cutMark;



    private Integer areaIncomeParam;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * 用户昵称
     */
    private String userName;

    /**
     * 代理商身份(0普通用户 1推客 2星级推客 3银牌推客 4金牌推客 5中心代理 6钻石代理)
     */
    private String agentLevelStr;

    /**
     * 省份
     */
    private String provinceCode;

    /**
     * 市(直辖市)
     */
    private String cityCode;

    /**
     * 区县
     */
    private String countyCode;

    /**
     * 状态(0:无效 1:正常)
     */
    private String stateStr;

    /**
     * 来源
     */
    private String source;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Byte getState() {
        return state;
    }

    public void setState(Byte state) {
        this.state = state;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getAgentLevel() {
        return agentLevel;
    }

    public void setAgentLevel(Integer agentLevel) {
        this.agentLevel = agentLevel;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard == null ? null : identityCard.trim();
    }

    public String getIdentityCardImage() {
        return identityCardImage;
    }

    public void setIdentityCardImage(String identityCardImage) {
        this.identityCardImage = identityCardImage == null ? null : identityCardImage.trim();
    }

    public Integer getAgentAmount() {
        return agentAmount;
    }

    public void setAgentAmount(Integer agentAmount) {
        this.agentAmount = agentAmount;
    }

    public Date getValidStartDate() {
        return validStartDate;
    }

    public void setValidStartDate(Date validStartDate) {
        this.validStartDate = validStartDate;
    }

    public Date getValidEndDate() {
        return validEndDate;
    }

    public void setValidEndDate(Date validEndDate) {
        this.validEndDate = validEndDate;
    }

    public Integer getCutMark() {
        return cutMark;
    }

    public void setCutMark(Integer cutMark) {
        this.cutMark = cutMark;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode == null ? null : provinceCode.trim();
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode == null ? null : cityCode.trim();
    }

    public String getCountyCode() {
        return countyCode;
    }

    public void setCountyCode(String countyCode) {
        this.countyCode = countyCode == null ? null : countyCode.trim();
    }

    public Integer getAreaIncomeParam() {
        return areaIncomeParam;
    }

    public void setAreaIncomeParam(Integer areaIncomeParam) {
        this.areaIncomeParam = areaIncomeParam;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAgentLevelStr() {
        return agentLevelStr;
    }

    public void setAgentLevelStr(String agentLevelStr) {
        this.agentLevelStr = agentLevelStr;
    }

    public String getStateStr() {
        return stateStr;
    }

    public void setStateStr(String stateStr) {
        this.stateStr = stateStr;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
}